package cn.yunlang.zhangZhongFei.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.yunlang.zhangZhongFei.entity.UserLike;
import cn.yunlang.zhangZhongFei.vo.request.UserLikePageVo;
import cn.yunlang.zhangZhongFei.vo.request.UserLikeVo;
import cn.yunlang.zhangZhongFei.vo.response.R;

/**
 * 用户关注表 服务类
 *
 * @author ·
 * @since 2025-05-26 14:50:46
 */
public interface UserLikeService extends IService<UserLike> {

  R<IPage<UserLikePageVo>> pageLike(Integer pageNo, Integer pageSize, Long userId);

  R<IPage<UserLike>> likedPage(Integer pageNo, Integer pageSize, Long userId);

  R<UserLike> getOne(Long userLikeId);

  R<String> doLike(UserLikeVo userLikeVo);

  R<String> likeUser(UserLikeVo userLikeVo);

  R<String> removeLikeUser(UserLikeVo userLikeVo);

  boolean like(UserLikeVo userLikeVo);
}
